nacos无法动态刷新配置,更新配置后程序暂停

您所在的位置:网站首页 nacos 自动刷新配置 nacos无法动态刷新配置,更新配置后程序暂停

nacos无法动态刷新配置,更新配置后程序暂停

#nacos无法动态刷新配置,更新配置后程序暂停| 来源: 网络整理| 查看: 265

将nacos对应list-size从1000改为2000。程序暂停不打印listSize的日志

img

@Service @Slf4j @RefreshScope public class Raw2RedisService { @Value("${parmas.swap.list-size}") private long listSize; }

2021-08-07 01:06:16.735 WARN [ main] : Ignore the empty nacos configuration and get it based on dataId[realtime-data-collect] & group[DEFAULT_GROUP]2021-08-07 01:06:16.780 INFO [ main] : No active profile set, falling back to default profiles: default2021-08-07 01:06:17.930 WARN [ main] : No URLs will be polled as dynamic configuration sources.2021-08-07 01:06:17.934 WARN [ main] : No URLs will be polled as dynamic configuration sources.2021-08-07 01:06:18.720 INFO [ main] : Started RealtimeDataCollectApplication in 2.949 seconds (JVM running for 3.522)2021-08-07 01:06:20.806 INFO [ scheduling-1] : 10002021-08-07 01:06:22.098 INFO [ scheduling-1] : 10002021-08-07 01:06:24.086 INFO [ scheduling-1] : 10002021-08-07 01:06:26.121 INFO [ scheduling-1] : 10002021-08-07 01:06:28.205 INFO [ scheduling-1] : 10002021-08-07 01:06:29.163 WARN [139_8848-public] c.a.c.n.c.NacosPropertySourceBuilder : Ignore the empty nacos configuration and get it based on dataId[realtime-data-collect] & group[DEFAULT_GROUP]



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3